//
//  ZYChooseStorePopViewTableViewCell.m
//  ZYOils
//
//  Created by 段新瑞 on 2019/9/25.
//  Copyright © 2019 Mr.Xr. All rights reserved.
//

#import "ZYChoosePersonPopViewTableViewCell.h"

@interface ZYChoosePersonPopViewTableViewCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;


@end

@implementation ZYChoosePersonPopViewTableViewCell

- (void)setModel:(ZYBillUserModel *)model {
    _model = model;
    self.nameLabel.textColor = [UIColor whiteColor];
    if (model.isSelect) {
        self.nameLabel.textColor = [UIColor redColor];
    }
    self.nameLabel.text = [NSString stringWithFormat:@"%@", model.userName];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
